﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>

    <link href="http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:400,200,700" rel="stylesheet" type="text/css" />
    
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/News.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Competitions.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/favicon.ico")" rel="Shortcut Icon" type="image/x-icon" />
    
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="http://code.jquery.com/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.easing.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery.slidorion.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.movingboxes.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.movingboxes.min.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/galleria/galleria-1.2.9.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/galleria/plugins/facebook/galleria.facebook.js")" type="text/javascript"></script>

    <!-- TinyMCE -->
    <script src="@Url.Content("~/Scripts/tiny_mce/tiny_mce.js")" type="text/javascript"></script>
    <script type="text/javascript">
        tinyMCE.init({
            // General options
            mode: "textareas",
            theme: "advanced",
            plugins: "autolink,lists,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave,visualblocks",

            // Theme options
            theme_advanced_buttons1: "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
            theme_advanced_buttons2: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
            theme_advanced_buttons3: "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
            theme_advanced_buttons4: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft,visualblocks",
            theme_advanced_toolbar_location: "top",
            theme_advanced_toolbar_align: "left",
            theme_advanced_statusbar_location: "bottom",
            theme_advanced_resizing: true,

            // Example content CSS (should be your site CSS)
            content_css: "css/content.css",

            // Drop lists for link/image/media/template dialogs
            template_external_list_url: "lists/template_list.js",
            external_link_list_url: "lists/link_list.js",
            external_image_list_url: "lists/image_list.js",
            media_external_list_url: "lists/media_list.js",

            // Style formats
            style_formats: [
			    { title: 'Bold text', inline: 'b' },
			    { title: 'Red text', inline: 'span', styles: { color: '#ff0000'} },
			    { title: 'Red header', block: 'h1', styles: { color: '#ff0000'} },
			    { title: 'Example 1', inline: 'span', classes: 'example1' },
			    { title: 'Example 2', inline: 'span', classes: 'example2' },
			    { title: 'Table styles' },
			    { title: 'Table row 1', selector: 'tr', classes: 'tablerow1' }
		    ],

            // Replace values for the template plugin
            template_replace_values: {
                username: "Some User",
                staffid: "991234"
            }
        });
    </script>
    <!-- /TinyMCE -->

    <script type="text/javascript">
        $(function () {
            $("#slidorion").slidorion({
                interval: 5000,
                effect: "random"
            });
        });
	</script>

    <script type="text/javascript">
        $(function () {
            $('.slider').movingBoxes({
                startPanel: 1,      // start with this panel
                wrap: false,        // if true, the panel will infinitely loop
                buildNav: true,     // if true, navigation links will be added
                navFormatter: function () { return "&#9679;"; } // function which returns the navigation text for each panel
            });
        });
    </script>

    <style type="text/css">
        .slider { width: 350px; }
        .slider li { width: 300px; }
    </style>

</head>

<body>
<div class="page">
        
    <div id="top">
        <div id="top-title">
            AtletIS - športový informačný systém
        </div>
        <div id="top-login">
            @Html.Partial("_LogOnPartial")
        </div>
    </div>
        
    <div id="header">
        <img src="@Url.Content("~/Content/AtletIS_logo.png")" alt="AtletIS" />
    </div>

    <div id="nav">
        <ul id="nav-menu">
            <li>@Html.ActionLink("Aktuality", "Index", "Home", new { area = "" }, null)</li>
            <li>@Html.ActionLink("Zo sveta", "WorldNews", "Home", new { area = "" }, null)</li>
            <li>@Html.ActionLink("Preteky", "Index", "Results", new { area = "" }, null)</li>
            <li>@Html.ActionLink("Dokumenty", "Index", "Documents", new { area = "" }, null)</li>
            <li>@Html.ActionLink("Prihlášky", "Index", "Signups", new { area = "" }, null)
                <ul>
                    <li>@Html.ActionLink("Štandardné", "Index", "Signups", new { area = "" }, null)</li>
                    <li>@Html.ActionLink("Klubové", "Index", "Signups", new { area = "MyClub" }, null)</li>
                    <li>@Html.ActionLink("Zoznam prihlásených pretekárov", "List", "Signups", new { area = "" }, null)</li>
                </ul>
            </li>
            <li>@Html.ActionLink(ViewRes.SharedStrings.Statistics, "Index", "Statistics", new { area = ""}, null)
                <ul>
                    <li>@Html.ActionLink(ViewRes.SharedStrings.TotalStatistics, "Total", "Statistics", new { area = ""}, null)</li>
                    <li>@Html.ActionLink(ViewRes.SharedStrings.ClubStatistics, "Clubs", "Statistics", new { area = ""}, null)</li>
                </ul>
            </li>
            
            @*<li>@Html.ActionLink("Štatistika", "Competitor", "Statistics", new { area = "" }, null)
                <ul>
                    <li>@Html.ActionLink("Pretekár", "Competitor", "Statistics", new { area = "" }, null)</li>
                </ul>
            </li>
            <li>@Html.ActionLink("Registrácia", "Index", "Registration", new { area = "" }, null)</li>*@

            <li><a href="http://www.saz.sportsk.eu" target="_blank">Registrácia</a></li>
            <li>@Html.ActionLink("Kontakty", "Index", "Contacts", new { area = "" }, null)</li>
        </ul>
    </div>
        
    <div id="main">
        
    <!-- --------------------- MAIN CONTENT -------------------- -->

        @RenderBody()

    <!-- --------------------- MAIN CONTENT -------------------- -->

    </div>
      
    <div id="footer">
        
        <div class="footer-box-center">
            <a href="http://www.atletis.sk" target="_blank">
                <img src="@Url.Content("~/Content/atletis.png")" alt="AtletIS" /></a><br />
            Web-design <br />
            Športové informačné systémy <br />
            Mobilné aplikácie <br />
        </div>

        <div class="footer-box">
            <ul>
                <li>
                    @Html.ActionLink("Archív článkov", "Index", "Articles", new { area = "" }, null)
                </li>
                <li>
                    @Html.ActionLink("Fotogaléria", "PhotoGallery", "Home", new { area = "" }, null)
                </li>
                <li>
                    <a href="https://www.facebook.com/atletikasvk" target="_blank">SAZ na Facebooku</a>
                </li>
            </ul>
        </div>

        <div class="footer-box">
            <ul>
                <li>   
                    @Html.ActionLink("O systéme AtletIS", "About", "Home", new { area = "" }, null)
                </li>
            </ul>
        </div>

        <div class="footer-box-center">
            <a href="http://www.hrdosport.sk" target="_blank">
                <img src="@Url.Content("~/Content/hrdosport.png")" alt="Hrdošport" /></a><br />
            Timing & Measuring <br />
            Chip timing <br />
            Data service <br /> 
        </div>

    </div>

</div>
</body>
</html>
